package com.yunhuakeji.wddx.control;

import java.io.InputStream;
import com.yunhuakeji.wddx.impl.IMManagementByObjectives;
import com.yunhuakeji.wddx.utils.ResultUtil;

public class HTGLController extends ActionTicketSupport
{
	private static final long serialVersionUID = 1L;
	private InputStream inputStream;
	private String callback, type, pagenum, cxtj, pageSize, starttime, endtime, targetID, operate,Content,targetUserid,s_id, WBerId, time;
	
	public HTGLController() throws Exception
	{
		super();
	}

	public String getTargetBaseTitle_tercher()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().getTargetBaseTitle_tercher());
		return SUCCESS;
	}
	
	public String findTarget_tercher()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().findTarget_tercher(this.getUserid(), type, pagenum, cxtj, pageSize));
		return SUCCESS;
	}
	
	public String targetAudit()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().targetAudit(this.getUserid(), type, pagenum, pageSize, cxtj, starttime, endtime));
		return SUCCESS;
	}
	
	public String targetAuditOperate()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().targetAuditOperate(this.getUserid(), targetID, operate));
		return SUCCESS;
	}
	
	public String getTargetAuditSettings()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().getTargetAuditSettings(this.getUserid()));
		return SUCCESS;
	}
	
	public String targetAuditSettings()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().targetAuditSettings(Content));
		return SUCCESS;
	}
	
	public String shareAudit()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().shareAudit(this.getUserid(), type, pagenum, pageSize, cxtj, starttime, endtime));
		return SUCCESS;
	}
	
	public String shareAuditOperate()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().shareAuditOperate(this.getUserid(),targetUserid, targetID, s_id,operate));
		return SUCCESS;
	}
	
	public String getShareAuditSettings()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().getShareAuditSettings(this.getUserid()));
		return SUCCESS;
	}
	
	public String shareAuditSettings()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().shareAuditSettings(Content));
		return SUCCESS;
	}
	
	public String WHISTLE_BLOWAudit()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().WHISTLE_BLOWAudit(this.getUserid(), type, pagenum, pageSize, cxtj, starttime, endtime));
		return SUCCESS;
	}
	
	public String WHISTLE_BLOWOperate()
	{
		inputStream = new ResultUtil().resultString(callback, new IMManagementByObjectives().WHISTLE_BLOWOperate(this.getUserid(), s_id, WBerId, time, operate));
		return SUCCESS;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	public InputStream getInputStream()
	{
		return inputStream;
	}

	public void setInputStream(InputStream inputStream)
	{
		this.inputStream = inputStream;
	}

	public String getCallback()
	{
		return callback;
	}

	public void setCallback(String callback)
	{
		this.callback = callback;
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type;
	}

	public String getPagenum()
	{
		return pagenum;
	}

	public void setPagenum(String pagenum)
	{
		this.pagenum = pagenum;
	}

	public String getCxtj()
	{
		return cxtj;
	}

	public void setCxtj(String cxtj)
	{
		this.cxtj = cxtj;
	}

	public String getPageSize()
	{
		return pageSize;
	}

	public void setPageSize(String pageSize)
	{
		this.pageSize = pageSize;
	}

	public String getStarttime()
	{
		return starttime;
	}

	public void setStarttime(String starttime)
	{
		this.starttime = starttime;
	}

	public String getEndtime()
	{
		return endtime;
	}

	public void setEndtime(String endtime)
	{
		this.endtime = endtime;
	}

	public String getTargetID()
	{
		return targetID;
	}

	public void setTargetID(String targetID)
	{
		this.targetID = targetID;
	}

	public String getOperate()
	{
		return operate;
	}

	public void setOperate(String operate)
	{
		this.operate = operate;
	}

	public String getContent()
	{
		return Content;
	}

	public void setContent(String content)
	{
		Content = content;
	}

	public String getTargetUserid()
	{
		return targetUserid;
	}

	public void setTargetUserid(String targetUserid)
	{
		this.targetUserid = targetUserid;
	}

	public String getS_id()
	{
		return s_id;
	}

	public void setS_id(String s_id)
	{
		this.s_id = s_id;
	}

	public String getWBerId()
	{
		return WBerId;
	}

	public void setWBerId(String wBerId)
	{
		WBerId = wBerId;
	}

	public String getTime()
	{
		return time;
	}

	public void setTime(String time)
	{
		this.time = time;
	}
	

}
